<?php if ($this->isDeveloperMode()): ?><div  id="profiler-messages"></div><?php endif; ?>

<?php $this->getWidget(array(), '\XLite\View\TopMessage')->display(); ?>

<div id="page-container"<?php if (!($this->get('auth')->isLogged())){?> class="login-page"<?php }?>>

  <div id="content">

    <div id="content-header">

      <div id="main">

        <?php $this->includeCompiledFile('center.tpl'); ?>

      </div><!-- [/main] -->

      <div id="sub-section"></div>

    </div>

  </div><!-- [/content] -->


  <div id="header">

    <div class="logo"></div>

    <div class="sw-version">
      <?php if (!($this->get('auth')->isLogged())): ?><span class="current" ><?php echo func_htmlspecialchars($this->t('LiteCommerce shopping cart software'));?></span><?php endif; ?>
      <?php $this->getWidget(array(), '\XLite\View\CoreVersionTopLink')->display(); ?>
    </div>

    <?php $this->getWidget(array(), '\XLite\View\TopMenu')->display(); ?>
    <?php $this->getWidget(array(), '\XLite\View\TopLinks')->display(); ?>
    <?php if (!($this->get('auth')->isLogged())): ?><h1 ><?php echo func_htmlspecialchars($this->t('Administration Zone'));?></h1><?php endif; ?>

  </div><!-- [/header] -->


  <div id="footer">

    <div class="left">
      <?php $this->getWidget(array(), '\XLite\View\PoweredBy')->display(); ?>
    </div>

    <div class="right">
    </div>

    <div class="clear"></div>

  </div><!-- [/footer] -->

</div><!-- [/page-container] -->
